import Vue from 'vue'
import Router from 'vue-router'
// import Login from '@/pages/Login'
// import Index from '@/pages/Index'
// import Setting from '@/pages/Setting'
import Login from '@/pages/Login'
import XIndex from '@/pages/XIndex'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/login',
    //   name: 'Login',
    //   component: Login
    // },
    // {
    //   path: '/',
    //   name: 'Index',
    //   component: Index
    // },
    // {
    //   path: '/',
    //   name: 'Setting',
    //   component: Setting
    // },
    {
      path: '/login',
      name: 'Login',
      component: Login
    }, {
      path: '/',
      name: 'XIndex',
      component: XIndex
    }
  ]
})
